package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class pMainPage_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(2);
    _jspx_dependants.add("/WEB-INF/tld/struts-html.tld");
    _jspx_dependants.add("/WEB-INF/tld/struts-bean.tld");
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005fhtml;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fbean_005fwrite_0026_005fname_005fnobody;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fhtml_005fhtml = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fbean_005fwrite_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fhtml_005fhtml.release();
    _005fjspx_005ftagPool_005fbean_005fwrite_0026_005fname_005fnobody.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=Windows-31J");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      if (_jspx_meth_html_005fhtml_005f0(_jspx_page_context))
        return;
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_html_005fhtml_005f0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  html:html
    org.apache.struts.taglib.html.HtmlTag _jspx_th_html_005fhtml_005f0 = (org.apache.struts.taglib.html.HtmlTag) _005fjspx_005ftagPool_005fhtml_005fhtml.get(org.apache.struts.taglib.html.HtmlTag.class);
    _jspx_th_html_005fhtml_005f0.setPageContext(_jspx_page_context);
    _jspx_th_html_005fhtml_005f0.setParent(null);
    int _jspx_eval_html_005fhtml_005f0 = _jspx_th_html_005fhtml_005f0.doStartTag();
    if (_jspx_eval_html_005fhtml_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t<head>\r\n");
        out.write("\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">\r\n");
        out.write("\t    <meta http-equiv=\"Pragma\" content=\"no-cache\">\r\n");
        out.write("\t    <meta http-equiv=\"Cache-Control\" content=\"no-cache\">\r\n");
        out.write("\t\t<title>Main Page</title>\r\n");
        out.write("\t\t<script type=\"text/javascript\" src=\"common.js\"></script>\r\n");
        out.write("\t\t<script language=\"JavaScript\">\r\n");
        out.write("\t\t\t/**\r\n");
        out.write("\t\t\t *該当画面へ遷移します。\r\n");
        out.write("\t\t\t */\t\t\t\r\n");
        out.write("\t\t\tfunction goSetup(forward){\r\n");
        out.write("\t\t\t\r\n");
        out.write("\t\t\t\t//該当画面へ遷移\r\n");
        out.write("\t\t\t\twindow.location.href = \"/Sample/\" + forward + \".do\";\r\n");
        out.write("\t\t\t}\r\n");
        out.write("\t\t</script>\r\n");
        out.write("\t</head>\r\n");
        out.write("\t<body onLoad=\"onLoadBody()\">\r\n");
        out.write("\t\t<table  width=\"1024\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
        out.write("\t\t\t<tr><td ></td></tr>\t\r\n");
        out.write("\t\t\t<tr><td height=\"20\" colspan=\"3\"></td></tr>\r\n");
        out.write("\t\t\t<tr>\r\n");
        out.write("\t\t\t\t<td align=\"left\" colspan=\"2\">\r\n");
        out.write("\t\t\t\t\t<br>下記のメニュから設定したい項目をお選び下さい。<br><br>\r\n");
        out.write("\t\t\t\t</td>\r\n");
        out.write("\t\t\t\t<td></td>\r\n");
        out.write("\t\t\t</tr>\r\n");
        out.write("\t\t\t<tr>\r\n");
        out.write("\t\t\t\t<td align=\"left\" >\t\t\t\t\t\r\n");
        out.write("\t\t\t\t\t<div >\r\n");
        out.write("\t\t\t\t\t\t<a href=\"#\" onClick=\"goSetup('itemlist')\">link 1</a>\r\n");
        out.write("\t\t\t\t\t</div>\r\n");
        out.write("\t\t\t\t<td >商品情報リストへ</td>\r\n");
        out.write("\t\t\t</tr>\r\n");
        out.write("\t\t\t<tr >\r\n");
        out.write("\t\t\t\t<td align=\"left\" >\r\n");
        out.write("\t\t\t\t\t<div >\r\n");
        out.write("\t\t\t\t\t\t<a href=\"#\" onClick=\"goSetup('setRain')\">link 2</a>\r\n");
        out.write("\t\t\t\t\t</div>\r\n");
        out.write("\t\t\t\t<td >test2</td>\r\n");
        out.write("\t\t\t</tr>\r\n");
        out.write("\t\t</table>\r\n");
        out.write("\t\t<div>\r\n");
        out.write("\t\t\t<b><font size=\"-1\" color=\"#ffffff\">");
        if (_jspx_meth_bean_005fwrite_005f0(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
          return true;
        out.write("様</font></b><br>\r\n");
        out.write("\t\t\t<a href=\"#\" onClick=\"goLogout()\">Logout</a>\r\n");
        out.write("\t\t</div>\r\n");
        out.write("\t</body>\r\n");
        int evalDoAfterBody = _jspx_th_html_005fhtml_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_html_005fhtml_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fhtml_005fhtml.reuse(_jspx_th_html_005fhtml_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fhtml_005fhtml.reuse(_jspx_th_html_005fhtml_005f0);
    return false;
  }

  private boolean _jspx_meth_bean_005fwrite_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_html_005fhtml_005f0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  bean:write
    org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_005fwrite_005f0 = (org.apache.struts.taglib.bean.WriteTag) _005fjspx_005ftagPool_005fbean_005fwrite_0026_005fname_005fnobody.get(org.apache.struts.taglib.bean.WriteTag.class);
    _jspx_th_bean_005fwrite_005f0.setPageContext(_jspx_page_context);
    _jspx_th_bean_005fwrite_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_005fhtml_005f0);
    _jspx_th_bean_005fwrite_005f0.setName("session.id");
    int _jspx_eval_bean_005fwrite_005f0 = _jspx_th_bean_005fwrite_005f0.doStartTag();
    if (_jspx_th_bean_005fwrite_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fbean_005fwrite_0026_005fname_005fnobody.reuse(_jspx_th_bean_005fwrite_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fbean_005fwrite_0026_005fname_005fnobody.reuse(_jspx_th_bean_005fwrite_005f0);
    return false;
  }
}
